﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.EContract.Dto
{
    /// <summary>
    /// 游客名单
    /// </summary>
    public class TouristsInfo
    {
        /// <summary>
        /// 游客总人数
        /// </summary>
        public int totalNumber { get; set; }
        /// <summary>
        /// 成人人数
        /// </summary>
        public int adultNumber { get; set; }
        /// <summary>
        /// 儿童人数
        /// </summary>
        public int childNumber { get; set; }
        /// <summary>
        /// 紧急联系人姓名
        /// </summary>
        public string emergencyContactName { get; set; }
        /// <summary>
        /// 紧急联系人电话
        /// </summary>
        public string emergencyContactPhone { get; set; }
        /// <summary>
        /// 游客列表
        /// </summary>
        public List<Tourists> tourists { get; set; }
    }

    /// <summary>
    /// 游客列表
    /// </summary>
    public class Tourists
    {
        /// <summary>
        /// 游客ID
        /// </summary>
        public Guid TouristId { get; set; }
        /// <summary>
        /// 在列表中的显示顺序
        /// </summary>
        public int number { get; set; }
        /// <summary>
        /// 是否签署人
        /// </summary>
        public bool isSigner { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 游客性别  允许值: "男", "女"
        /// </summary>
        public string gender { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int age { get; set; }
        /// <summary>
        /// 是否儿童
        /// </summary>
        public bool isChild { get; set; }
        /// <summary>
        /// 国籍
        /// </summary>
        public string nationality { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string race { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 健康状况
        /// </summary>
        public string health { get; set; }
        /// <summary>
        /// 地址，当游客为签署人时，必填
        /// </summary>
        public string address { get; set; }
        /// <summary>
        /// 证件信息
        /// </summary>
        public IDInfo ID { get; set; }
    }

    /// <summary>
    /// 证件信息
    /// </summary>
    public class IDInfo
    {
        /// <summary>
        /// 证件类型，1：身份证，2：士官证，3：港澳通行证，4：护照，5：赴台证，6：回乡证，7：台胞证，8：其他
        /// </summary>
        public string IDType { get; set; }
        /// <summary>
        /// 证件号
        /// </summary>
        public string IDNumber { get; set; }
    }
}
